package com.project.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import com.project.entity.OutOrderInfo;
import com.project.mapper.OutOrderInfoMapper;
import com.project.service.OutOrderInfoService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author lovo
 * @since 2023-07-21
 */
@Service
public class OutOrderInfoServiceImp extends ServiceImpl<OutOrderInfoMapper, OutOrderInfo> implements OutOrderInfoService {
    /**
     * 按销售单ID查询销售详情
     * @param outOrderId 销售单ID
     * @return 销售详情对象
     */
    @Override
    public List<OutOrderInfo> findByOutOrderId(Integer outOrderId) {
        return this.baseMapper.findByOutOrderId(outOrderId);
    }
}
